FROM openjdk:8-jre
RUN echo "Asia/Chongqing" > /etc/timezone
VOLUME /tmp
COPY ruoyi-admin.jar app.jar
CMD ["java","-Djava.security.egd=file:/dev/./urandom", "-Xms128m", "-Xmx256m","-jar","app.jar"]